package cn.wenjie.gd.service;


import java.util.List;

import cn.wenjie.gd.dao.MedicalDao;
import cn.wenjie.gd.dao.MedicalDaoImp;
import cn.wenjie.gd.domain.Medical;
import cn.wenjie.gd.domain.MedicalTop;
import cn.wenjie.gd.util.MedicalPage;
import cn.wj.base.dao.BaseDao;
import cn.wj.base.service.BaseServiceImp;

public class MedicalServiceImp  extends BaseServiceImp<Medical,Integer>  implements MedicalService{
	private MedicalDao medicalDao=new MedicalDaoImp();
	@Override
	public BaseDao<Medical, Integer> getBaseDao() {
		return medicalDao;
	}
	@Override
	public boolean checkNumber(String Number) {
		// TODO Auto-generated method stub
		return medicalDao.checkNumber(Number);
	}
	@Override
	public MedicalPage getPageList(MedicalPage page) {
		// TODO Auto-generated method stub
		return medicalDao.getPageList(page);
	}
	@Override
	public List<Medical> getAllEffective() {
		// TODO Auto-generated method stub
		return medicalDao.getAllEffective();
	}
	@Override
	public List<Medical> getByIds(String ids) {
		// TODO Auto-generated method stub
		return medicalDao.getByIds(ids);
	}
	@Override
	public List<MedicalTop> getTodayTop() {
		// TODO Auto-generated method stub
		return medicalDao.getTodayTop();
	}
 
}
